package com.t.bricks.bussiness.db.entity.stylepaperexamclass.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 考卷样式题目类型分配'StylePaperExamClass'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年12月13日 16:12:16
 */
@ApiModel("考卷样式题目类型分配StylePaperExamClass")
@DataInfo(sDbName="BricksAppraise", sTableName="StylePaperExamClass")
public class StylePaperExamClassBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iId", sComment="记录编号", isDbField=true, sDbFileType="bigint",
		sDefaultData="", isExtra=true, iskey=true, isNull=false,
		iMaxLength=11, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected Long iId;

	/**
	 * 考卷样式记录编号(关联表,StylePaper.sId)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="sPaperStyleId", sComment="考卷样式记录编号(关联表,StylePaper.sId)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="考卷样式记录编号(关联表,StylePaper.sId)", example="")
	//[end]
	protected String sPaperStyleId;

	/**
	 * 考题类型编码
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iType", sComment="考题类型编码", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="考题类型编码", example="1")
	//[end]
	protected Integer iType;

	/**
	 * 题型编号(关联ExaminationClass表)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="sClassId", sComment="题型编号(关联ExaminationClass表)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="题型编号(关联ExaminationClass表)", example="")
	//[end]
	protected String sClassId;

	/**
	 * 题型标题（显示用）
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="sTitle", sComment="题型标题（显示用）", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=60, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="题型标题（显示用）", example="")
	//[end]
	protected String sTitle;

	/**
	 * 题型总分数
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iScore", sComment="题型总分数", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="题型总分数", example="0")
	//[end]
	protected Integer iScore;

	/**
	 * 题型总数所占百分比
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iScale", sComment="题型总数所占百分比", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="题型总数所占百分比", example="0")
	//[end]
	protected Integer iScale;

	/**
	 * 允许回退(布尔值,1:是;2:否)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iTurn", sComment="允许回退(布尔值,1:是;2:否)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="允许回退(布尔值,1:是;2:否)", example="1")
	//[end]
	protected Integer iTurn;

	/**
	 * 提供答案(布尔值,1:是;2:否)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iSupplyKey", sComment="提供答案(布尔值,1:是;2:否)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="提供答案(布尔值,1:是;2:否)", example="1")
	//[end]
	protected Integer iSupplyKey;

	/**
	 * 允许多选(布尔值,1:是;2:否)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iMultiSel", sComment="允许多选(布尔值,1:是;2:否)", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="允许多选(布尔值,1:是;2:否)", example="0")
	//[end]
	protected Integer iMultiSel;

	/**
	 * 最小答案数
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iMinAnswer", sComment="最小答案数", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="最小答案数", example="0")
	//[end]
	protected Integer iMinAnswer;

	/**
	 * 最大答案数
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iMaxAnswer", sComment="最大答案数", isDbField=true, sDbFileType="int",
		sDefaultData="8", isExtra=false, iskey=false, isNull=false,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="最大答案数", example="8")
	//[end]
	protected Integer iMaxAnswer;

	/**
	 * 标准答案数
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iAnswer", sComment="标准答案数", isDbField=true, sDbFileType="int",
		sDefaultData="4", isExtra=false, iskey=false, isNull=false,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="标准答案数", example="4")
	//[end]
	protected Integer iAnswer;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=13 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="创建者", example="")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=15 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="修改人", example="")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=17 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iState", sComment="状态", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=18 )
	@ApiModelProperty(value="状态", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 排序(题型位置)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iIndex", sComment="排序(题型位置)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=19 )
	@ApiModelProperty(value="排序(题型位置)", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="StylePaperExamClass",
		sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=20 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return Long
	 */
	public Long getiId() {
		return iId;
	}

	/**
	 * 设置 记录编号
	 * @param iId
	 */
	public void setiId(Long iId) {
		this.iId = iId;
	}

	/**
	 * 取 考卷样式记录编号(关联表,StylePaper.sId)
	 * @return String
	 */
	public String getsPaperStyleId() {
		return sPaperStyleId;
	}

	/**
	 * 设置考卷样式记录编号(关联表,StylePaper.sId)
	 * @param sPaperStyleId
	 */
	public void setsPaperStyleId(String sPaperStyleId) {
		this.sPaperStyleId = sPaperStyleId;
	}

	/**
	 * 取 考题类型编码
	 * @return Integer
	 */
	public Integer getiType() {
		return iType;
	}

	/**
	 * 设置考题类型编码
	 * @param iType
	 */
	public void setiType(Integer iType) {
		this.iType = iType;
	}

	/**
	 * 取 题型编号(关联ExaminationClass表)
	 * @return String
	 */
	public String getsClassId() {
		return sClassId;
	}

	/**
	 * 设置题型编号(关联ExaminationClass表)
	 * @param sClassId
	 */
	public void setsClassId(String sClassId) {
		this.sClassId = sClassId;
	}

	/**
	 * 取 题型标题（显示用）
	 * @return String
	 */
	public String getsTitle() {
		return sTitle;
	}

	/**
	 * 设置题型标题（显示用）
	 * @param sTitle
	 */
	public void setsTitle(String sTitle) {
		this.sTitle = sTitle;
	}

	/**
	 * 取 题型总分数
	 * @return Integer
	 */
	public Integer getiScore() {
		return iScore;
	}

	/**
	 * 设置题型总分数
	 * @param iScore
	 */
	public void setiScore(Integer iScore) {
		this.iScore = iScore;
	}

	/**
	 * 取 题型总数所占百分比
	 * @return Integer
	 */
	public Integer getiScale() {
		return iScale;
	}

	/**
	 * 设置题型总数所占百分比
	 * @param iScale
	 */
	public void setiScale(Integer iScale) {
		this.iScale = iScale;
	}

	/**
	 * 取 允许回退(布尔值,1:是;2:否)
	 * @return Integer
	 */
	public Integer getiTurn() {
		return iTurn;
	}

	/**
	 * 设置允许回退(布尔值,1:是;2:否)
	 * @param iTurn
	 */
	public void setiTurn(Integer iTurn) {
		this.iTurn = iTurn;
	}

	/**
	 * 取 提供答案(布尔值,1:是;2:否)
	 * @return Integer
	 */
	public Integer getiSupplyKey() {
		return iSupplyKey;
	}

	/**
	 * 设置提供答案(布尔值,1:是;2:否)
	 * @param iSupplyKey
	 */
	public void setiSupplyKey(Integer iSupplyKey) {
		this.iSupplyKey = iSupplyKey;
	}

	/**
	 * 取 允许多选(布尔值,1:是;2:否)
	 * @return Integer
	 */
	public Integer getiMultiSel() {
		return iMultiSel;
	}

	/**
	 * 设置允许多选(布尔值,1:是;2:否)
	 * @param iMultiSel
	 */
	public void setiMultiSel(Integer iMultiSel) {
		this.iMultiSel = iMultiSel;
	}

	/**
	 * 取 最小答案数
	 * @return Integer
	 */
	public Integer getiMinAnswer() {
		return iMinAnswer;
	}

	/**
	 * 设置最小答案数
	 * @param iMinAnswer
	 */
	public void setiMinAnswer(Integer iMinAnswer) {
		this.iMinAnswer = iMinAnswer;
	}

	/**
	 * 取 最大答案数
	 * @return Integer
	 */
	public Integer getiMaxAnswer() {
		return iMaxAnswer;
	}

	/**
	 * 设置最大答案数
	 * @param iMaxAnswer
	 */
	public void setiMaxAnswer(Integer iMaxAnswer) {
		this.iMaxAnswer = iMaxAnswer;
	}

	/**
	 * 取 标准答案数
	 * @return Integer
	 */
	public Integer getiAnswer() {
		return iAnswer;
	}

	/**
	 * 设置标准答案数
	 * @param iAnswer
	 */
	public void setiAnswer(Integer iAnswer) {
		this.iAnswer = iAnswer;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 排序(题型位置)
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置排序(题型位置)
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
